package com.iszhouhua.blog.service.vue;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.iszhouhua.blog.model.Article;
import com.iszhouhua.blog.model.vo.ArticleVo;


public interface BlogService extends IService<Article> {
  /**
   * 分页查询全部文章
    * @param page
   * @return
   */
   IPage<ArticleVo> queryAllBlog(IPage<ArticleVo> page);

  /**
   * 根据id查询文章
   * @param id
   * @return
   */
   Article queryBlogById(Integer id);
}
